#ifndef PMTDETECTOR_H
#define PMTDETECTOR_H

#include <G4VSensitiveDetector.hh>

#include "HitsCollection.hh"

class PMTDetector: public G4VSensitiveDetector {
public:
	PMTDetector(G4String);
	~PMTDetector();

	void Initialize(G4HCofThisEvent*);
	void EndOfEvent(G4HCofThisEvent*);

protected:
	G4bool ProcessHits(G4Step*, G4TouchableHistory*);

private:
	HitsCollection* hitsCollection;
};

#endif
